layui.define(function(exports){
	exports('conf', {		
		debug : true,
		tableName: "sptAdmin",
		loading : "疯狂加载中...",
		
		pagePrefix : "/page/admin/", //链接页面前缀
		pageDefallt: "index", //默认页面
		pageSuffix: ".html", //页面文件后缀
		
		
		
		defaultTarget : "#main-layout",
		
		msgShowTime : 2000,
		
		tokenName : "SPT-Token",
		
		
		headerRefererName : "Admin-Referer",
		requestHeader : {
			
		},
		
		disabledDebuger: false,  //禁止调起开发者调试工具,并非100%有效
		debugerRedirect:"http://baidu.com",  //调起开发者调试工具时的跳转页面
		
		homeUrl:"/page/admin/index.html",
		loginUrl : "/",
		page404 : "/admin/error/404.html",
		
		request : {
			pageSizeName : "pageSize",
			pageNumberName : "pageNumber"
		},
		
		response : {
			statusName : "code",
			successCode : 0,
			tokenInvalidCode : [11, 12],
			msgName : "message",
			pageDataName : "data.list",
			pageCountName : "data.totalRow",
			pageNumberName : "data.pageNumber",
			pageSizeName : "data.pageSize",
			formBindDataName : "data" //支持数组方式["data.data1", "data,data2"]
		},
		
		extend : [
			"echarts",
			"echartsTheme",
			"china"
		],
	
		iframeDefaultArea : ['800px', '500px'],
		dialogDefaultArea : ['800px', '500px']
	})
})